import fetch from '@/utils/request'

export function sceneAll(query) {
  return fetch({
    url: '/api/adminCrm/sceneInfos/list',
    method: 'get',
    params: query
  })
}

export function add(data) {
  return fetch({
    url: '/api/adminCrm/sceneInfos/add',
    method: 'post',
    data: data
  })
}

export function deleteObj(data) {
  return fetch({
    url: '/api/adminCrm/sceneInfos/delete',
    method: 'post',
    data: data
  })
}
